<template name="register">
    <h2>Registrate en SETU</h2>
    <form method="post" id="reg_form">
        <table>
            <tr>
                <th colspan="2">Datos de login {{sarasa}} {{['cosas']['sarasa']}} {{['cosas']['lalala']}}</th>
            </tr>
            <tr>
                <td><span class="requerido">*</span>Nombre de usuario:</td>
                <td><input type="text" name="user[username]" maxlength="40" value="{{['user']['username']}}" autocomplete="off" /></td>
            </tr>
            <tr>
                <td><span class="requerido">*</span>Contrase&ntilde;a (**):</td>
                <td><input type="password" maxlength="20" name="user[password]" autocomplete="off" /></td>
            </tr>
            <tr>
                <td><span class="requerido">*</span>Repetir contrase&ntilde;a:</td>
                <td><input type="password" maxlength="20" name="user[password_repeat]" autocomplete="off" /></td>
            </tr>
            <tr>
                <td><span class="requerido">*</span>Email:</td>
                <td><input type="text" maxlength="40" name="user[email]" value="{{['user']['email']}}" autocomplete="off" /></td>
            </tr>
            <tr>
                <td><span class="requerido">*</span>Repetir email:</td>
                <td><input type="text" maxlength="40" name="user[email_repeat]" value="{{['user']['email_repeat']}}" autocomplete="off" /></td>
            </tr>
            <tr>
                <th colspan="2">Datos personales</th>
            </tr>
            <tr>
                <td><span class="requerido">*</span>Nombre:</td>
                <td><input type="text" name="profile[fname]" value="{{['profile']['fname']}}" /></td>
            </tr>
            <tr>
                <td><span class="requerido">*</span>Apellido:</td>
                <td><input type="text" name="profile[lname]" value="{{['profile']['lname']}}" /></td>
            </tr>
        </table>
        <br/>
        <input type="submit" value="Registrarse" id="register_form_button" class="make_submit_button"/>
        <br/>
        <br/>
        <span class="requerido">*</span><span>Campos requeridos</span>
        <br/>
        <strong>(**) La contrase&ntilde;a debe poseer:</strong><br/>
        Un m&iacute;nimo de 8 caracteres de largo<br/>
        Un m&aacute;ximo de 20 caracteres de largo<br/>
        Contener al menos un n&uacute;mero<br/>
        Contener al menos una letra<br/>
        Contener al menos una letra en may&uacute;scula<br/>
    </form>
</template>